package com.pay.mapper;

import com.pay.entity.TbBusinessOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Entity com.pay.entity.TbBusinessOrder
 */
@Mapper
public interface TbBusinessOrderMapper extends BaseMapper<TbBusinessOrder> {

    @Select(value = "SELECT * FROM tb_business_order WHERE order_num =#{orderNum} AND business_id=#{uid}")
    TbBusinessOrder selectOrder(@Param("uid") int uid, @Param("orderNum") Long orderNum);
}




